package com.vanguard.service.impl;

import com.vanguard.domain.Project;
import com.vanguard.mapper.ProjectMapper;
import com.vanguard.service.IProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title: 项目相关业务实现类
 * @Description:
 * @Author: vanguard
 * @Version: 1.0
 * @Date: 2018/11/18
 */
@Service
public class ProjectServiceImpl implements IProjectService {

    @Autowired
    private ProjectMapper projectMapper;

    @Override
    public List<Project> getProjectList() {

        List<Project> projectList = projectMapper.selectAll();
        return projectList;
    }
}
